package com.tzm.gaflow.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * <p>
 * 业务流程权限表
 * </p>
 *
 * @author tzm
 * @since 2021-03-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="GaFlowGrant", description="业务流程权限表")
public class GaFlowGrant extends Model<GaFlowGrant> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "业务流程权限ID")
    @TableId("flow_grantid")
    private String flowGrantid;

    @ApiModelProperty(value = "业务流程ID")
    @TableField("flow_id")
    private String flowId;

    @ApiModelProperty(value = "权限类别")
    @TableField("authority_type")
    private String authorityType;

    @ApiModelProperty(value = "权限值")
    @TableField("authority_value")
    private String authorityValue;

    @ApiModelProperty(value = "启用时间")
    @TableField("start_time")
    private Date startTime;

    @ApiModelProperty(value = "失效时间")
    @TableField("end_time")
    private Date endTime;


}
